package com.softWang.system.controller.vo.systemAuth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@ApiModel
@Data
public class LoginResult {

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "访问令牌")
    private String accessToken;

    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime expiresTime;

    @ApiModelProperty(value = "密码是否过期:0 未过期;1 已过期")
    private String passExpired;

}
